/**
 * Model Listener interface for the Hex game
 * @author James Masco jpm9912
 *
 */
public interface ModelListener {
	/**
	 * Called by the server to alert the client that 
	 * the join to a session was successful
	 * @param c Enum color of which color the player is
	 */
	public void joinSuccessful(ColorType c);
	
	/**
	 * Called by the server to alert the client that the join has failed
	 */
	public void joinFailed();
	
	/**
	 * Called by the server to alert the client that a piece has been placed
	 * @param x X coordinate of position to place
	 * @param y Y coordinate of position to place
	 * @param c Color of the piece to place
	 */
	public void placePiece(int x,int y, ColorType c);
	
	/**
	 * Called by the server to alert the client that the game has ended for a specific reason
	 * @param go Enum of the end state of the game
	 */
	public void gameOver(GameOverType go);
	
}
